<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:set var="ctx" value="<%=request.getContextPath()%>" />

<%
	String realPath = "http://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath();
	String cur_url = request.getRequestURI();
	String queryString = request.getQueryString();
	request.setAttribute("cur_url", cur_url + "?" + queryString);
	request.setAttribute("realPath", realPath);
%>
